package com.pojo;

import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * majortype
 * @author 
 */
@Data
@TableName(resultMap = "Majortype")
public class Majortype implements Serializable {
    @TableId(type = IdType.ASSIGN_ID)
    private String mtid;

    /**
     * 专业类型分类名称
     */
    private String mtname;

    /**
     * 专业分类主图
     */
    private String mtimg;
    /**
     * 子查询
     */
    @TableField(exist = false)
    private List<Major> majors;

    private static final long serialVersionUID = 1L;
}